package com.company.project.entity.ldjsc.weather;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.entity.initial.BasePageEntity;
import com.baomidou.mybatisplus.annotation.FieldFill;
    import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 城市代码
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2025-07-21 15:24:06
 */
@Data
@TableName("zy_city_code")
public class ZyCityCodeEntity extends BasePageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private Long id;

	/**
	 * 城市名
	 */
		@TableField("city_name")
		private String cityName;

	/**
	 * 城市代码
	 */
		@TableField("city_code")
		private String cityCode;

	/**
	 * 节点
	 */
		@TableField("node")
		private String node;

	/**
	 *等级
	 */
	@TableField("grade")
	private String grade;

	/**
	 * 上级id
	 */
	@TableField("superior_id")
	private String superiorId;

	//数据库不查该字段
	@TableField(exist = false)
	private List<ZyCityCodeEntity> children;


}
